package cn.iot.sys.dao;

import cn.iot.sys.entity.SysClass;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

public interface SysClassDao extends BaseMapper<SysClass> {
    public List<SysClass> getSysClassList(Map<String, Object> params);
    public int getSysClassCount(Map<String, Object> params);
    public int addSysClass(SysClass sysClass);
    public int delSysClassById(int id);
    public List<SysClass> getSysClass();
    public SysClass viewSysClassById(int id);
    public int updSysClassById(SysClass sysClass);
    public int updStatusById(SysClass sysClass);
    public int getClassByName(String name);
    public SysClass getSysClassByName(String name);

}
